﻿using MySql.Data.Entity;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Test.DataAccess.EF.Mysql
{
    /// <summary>
    /// mysql EF配置
    /// </summary>
   
    [DbConfigurationType(typeof(MySqlEFConfiguration))]
    public class EFMySqlContext:TestEFContext
    {
        public EFMySqlContext() : base("name=EFMySqlContext") {

        }

        protected override void OnModelCreating(DbModelBuilder modelBuilder)
        {
            base.OnModelCreating(modelBuilder);
        }
    }
}
